package site.luojie.business.code.service.remote;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import site.luojie.business.code.service.CodeService;
import site.luojie.common.service.CodeRemoteService;
import site.luojie.common.vo.ResultVo;

/**
 * @author jie.luo
 * @since 2020/9/28
 */
@Service
public class CodeRemoteServiceImpl implements CodeRemoteService {

    @Autowired
    private CodeService codeService;

    @Override
    public ResultVo<Boolean> verifyCodeCheck(String email, String verifyCode) {
        return codeService.verifyCodeCheck(email, verifyCode);
    }
}
